package com.ssh.dao;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;

public class BaseDao {
	
	@Autowired
	private SessionFactory session;
	
	public Session getSession(){
		return session.getCurrentSession();
	}
}
